Set the selection state of all documents in an index that match search request.
[id(14), helpstring("method SelectItemsBySearch")]
HRESULT SelectItemsBySearch([in] LONG iIndex, [in] BSTR searchRequest, [in] VARIANT_BOOL bSelected, [out,retval] LONG* pCount);the number of documents that matched the search, or a negative value if the search failed.
You can also use SearchJob.WantResultsAsFilter to create a SearchFilter from the results of a search. Using SearchJob.WantResultsAsFilter is more flexible than SelectItemsBySearch because you can use any of the properties of the SearchJob (search flags, FileConditions, etc.) rather than just a simple search request
|
Copyright (c) 1995-2012 dtSearch Corp. All rights reserved.
|